<template>
<p>允许定义递增递减的步进控制</p>
<div text="sm" m="y-4" data-v-72294632=""><p>设置 <code>step</code> 属性可以控制步长。</p>
</div>
  <el-input-number v-model="num" :step="2" />
</template>

<script lang="ts" setup>
import { ref } from 'vue'

const num = ref(5)
</script>

<style scoped>
@import '../../assets/elementPlusDemo.css'
</style>